#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

int main()
{
	int n = 0;
	int arr[10] = { 0 };
	scanf("%d", &n);
	for (int i = 0; i < n; i++)
	{
		scanf("%d", &arr[i]);
	}
	for (int j = n - 1; j >= 0; j--)
	{
		printf("%d", *(&arr[j]));
		if (j != 0);
		printf(" ");
	}
	return 0;
}

